#ifndef FHE_CORE_NODEDESC_H
#define FHE_CORE_NODEDESC_H

#include <fhe/core/INodeDesc.h>

namespace fhe
{
  namespace core
  {
    template <typename T>
    class NodeDesc : public INodeDesc
    {
    public:
      NodeDesc() 
        : INodeDesc()
      {
      }
      
      Node* build() const
      {
        Node* node = new T;
        INodeDesc::build( node );
        return node;
      }
    };  
  }
}

#endif
